Update git prompt detached_branch_pattern