Cheat sheet

Change branch to "develop":

git checkout develop

Add new file to branch:

git add <file>
git add <directory>

Commit change locally:

git add *
git commit

Commit removed files/folders:

git add -u
git commit

 

Push commit to remote branch:

git push

Change file permission in branch (add +x):

git update-index --chmod=+x foo.sh
git commit -m "Changing file permissions"
git push


README.md example
Renderizado: https://github.com/RomuloOliveira/commit-messages-guide/blob/master/README.md
RAW: https://raw.githubusercontent.com/RomuloOliveira/commit-messages-guide/master/README.md