Github not recognised?

Hi

I have some folders on my local (Linux openSUSE Leap 15.2 + Atom 1.54.0 x64) workstation which are synced with my github account. pit push|pull etc all work from the command line within the folder.

Atom isn’t recognising the config and so:

  1. wants me to create new github repos
  2. won’t push changes to the repo

The setup is:
a) SSH connection & authentication with key using ssh-agent
b) SSH connection details (key, user+host etc) in .ssh/config
c) private repos

.git/config:

        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
[remote "origin"]
        url = jetojedno_github:jetojedno/containers.git
        fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
        remote = origin
        merge = refs/heads/master

.ssh/config:

  HostName github.com
  User git
  IdentityFile ~/.ssh/david
  IdentitiesOnly yes

How can I get Atom to recognise the existing ssh github connection?

Thanks
David

apologies, the first line of the configs is missing. Here’s the full configs:

.git/config:

[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
[remote "origin"]
        url = jetojedno_github:jetojedno/containers.git
        fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
        remote = origin
        merge = refs/heads/master

.ssh/config:

Host jetojedno_github
  HostName github.com
  User git
  IdentityFile ~/.ssh/david
  IdentitiesOnly yes