Check whether .git/config contains
[remote "origin"] url = … fetch = +refs/heads/master:refs/remotes/origin/master If so, change it to say
[remote "origin"] url = … fetch = +refs/heads/:refs/remotes/origin/ Then you should be able to use it:
more details on Xauthority and xauth problems:
https://unix.stackexchange.com/questions/112217/ssh-xforwarding-fails-xauth-bad-display-name
Movement algorithms, path finding etc