I somehow deleted the whole directory of my code branch. I cloned a new one. It worked fine except pushing.
~/workspace/wtf (mybranch)]$ git push origin mybranch
error: Cannot access URL [my url], return code 22
fatal: git-http-push failed
git pull works, though. How can I fix it?