on my server "sourcecode" i do :

```
cd /home/AyamJ/pbGIT
git --bare init

```

on my local notebook i do :

```
git push AyamJ@sourcecode:/home/AyamJ/pbGIT master

```

i got error:

```
git:'/home/AyamJ/pbGIT' is not a git command. See 'git --help'
fatal: the remote end hung up enexpectedly

```

on my ~/.ssh/config

```
Host sourcecode
user AyamJ
port 31313
Host localhost
user Dell
port 22

```

why that path is interpreted by git?

== UPDATE ==

i have 2 server (by git --bare init) "localhost" and "sourcecode"

i do 

```
GIT_TRACE=1 git push sourcecode:/home/AyamJ/pbGIT master

got 

trace: built-in : git 'push' 'sourcecode:/home/AyamJ/pbGIT' 'master'
trace: run_command : 'ssh' 'sourcecode' 'git-receive-pack '\''/home/AyamJ/pbGIT'\'''

AyamJ@sourcecode's password:
git: '/home/AyamJ/pbGIT' is not a git command. See  'git --help'
fatal: The remote end hung up unexpectedly

```

and 

```
GIT_TRACE=1 git push localhost:/home/Dell/pbGIT master

got 

trace: built-in : git 'push' 'localhost:/home/Dell/pbGIT' 'master'
trace: run_command : 'ssh' 'localhost' 'git-receive-pack '\''/home/Dell/pbGIT'\'''

Dell@sourcecode's password:
Everything up-to-date

```

both server has similar cygwin and package.