def git_new_branch(name):
 check_call(['git', 'checkout', '-b', name])

def git_new_branch ( name ) : check_call ( [ 'git' , 'checkout' , '-b' , name ] )
create a new branch with the given name and check it out .