git pull from remote but no such ref was fetched?
This will get the head branch name from origin, rename the current local branch, set it to track from the remote branch, and then pull. the solution that worked for us was to check the casing, git is case sensitive. check .git/config file to match your repository branch name. Highly active question.