# display x last commits one for each line git log --oneline -n x # quickly peek the available scripts cat package.json | grep "scripts" -A 10 # clone a specific branch from a repo git clone --single-branch --branch # fetching all the branches and checking into one branch git clone --branch url