def strip_remotes(remote_branches):
 branches = [utils.strip_one(branch) for branch in remote_branches]
 return [branch for branch in branches if (branch != u'HEAD')]

def strip_remotes ( remote_branches ) : branches = [ utils . strip_one ( branch ) for branch in remote_branches ] return [ branch for branch in branches if ( branch != u'HEAD' ) ]
strip the <remote>/ prefixes from branches e .