Are you trying to git pull or git push and receiving the nasty Github cannot lock existing info/refs fatal? There is a nice and quick easy fix. Run the following command:
git remote prune origin
Tag: prune
-
GitHub error: cannot lock existing info/refs fatal