Not a valid object name: ‘master’

Thanks for everyone.
I just had to define my email and username by these two lines and everything worked :

$ git config --global user.name "username"  
$ git config --global user.email "[email protected]"

Leave a Comment