improve branch and checkout commands (2)