git branch gives fatal: Not a valid object name: 'master' code example
Example: fatal: Not a valid object name: 'master'.
git add .
git commit -m "A short description what you did to the file"
git add .
git commit -m "A short description what you did to the file"