t2024: Add tests verifying current DWIM behavior of 'git checkout <branch>'