Git Error: fatal: Not a valid object name: ‘master’.

How to Solve Error: fatal: Not a valid object name: ‘master’.

Reason:

The default master branch of the GIT repository just created will not be created until after the first commit, otherwise it’s like declaring an object but not initializing it

Similar Posts: