- put to repository only files which cannot be recreated by any other tools - don't put any IDE's files or *class files
- git commit message should be of good quality
- in order to commit an empty folder, add .gitkeep file inside.
- when changing the branch, working tree should be clean.
- we should edit only the last commit and only if it's absolutely necessary
- git status - show what's going on in repository
- git log - shows git history
- git log --graph shows git history as a graph
- git branch - show available branches on my machine
- git branch -a - show all available branches - on my machine and remote ones