Closed
Description
repo.branches was not seeing some of my newly-created branches. I tracked it down to https://github.com/gitpython-developers/GitPython/blob/master/git/refs/symbolic.py#L577
if 'refs/' not in root: # skip non-refs subfolders
This needs to honor os.sep, eg:
if 'refs' not in root.split(os.sep): # skip non-refs subfolders