how to close git log code example Example 1: exit git log Exit git log: q Example 2: git effacer banch git branch -d<branchname>