ass ➜ ~ alias gcb="echo 'Fuck you' && git checkout -b" ass ➜ ~ man alias ass ➜ ~ mkdir test ass ➜ ~ cd test ass ➜ test git init Initialized empty Git repository in /Users/romcheg/test/.git/ ass ➜ test git:(master) gcb new-branch Fuck you Switched to a new branch 'new-branch' ass ➜ test git:(new-branch)