git branch checkout support with branch+checkout function