git commands unix code example Example 1: git basic commands git checkout -b <branchname> Example 2: git basic commands git add <filename>