def git_current_branch(): return ex.run_cmd_output('git rev-parse --abbrev-ref HEAD')
def git_check_master(): return not ex.run_cmd_output('git diff master origin/master')
def git_cache_credential(): return ex.run_cmd_output('git config --global credential.helper cache')