git command basic code example Example: git basic commands git fetch origin git reset --hard origin/master