# Visualize git
## commands
pres()
### Adding commits
git commit -m "message 1"
git commit -m "message 2"
git commit -m "message 3"
### Creating a branch
git branch feature
git commit -m "message 4"
git checkout feature
git commit -m "message 5"
git commit -m "message 6"
git commit -m "message 7"
git commit -m "message 8"
### Merging with master
git checkout master
git merge feature
undo
### Rebase with master
git checkout master
git rebase feature
git checkout feature
git merge