Git – remote: fatal: You are on a branch yet to be born
Edit, September 2020: This is becoming more common because people are renaming existing master branches to main or similar in various server-side bare repositories. For a TL;DR, if you’ve done this in a server-side bare repository—or made a repository with git init –bare without also updating the initial master part—you will want to adjust the … Read more