Does anyone know why this error could be coming on git gc? Seems like related to a branch i had made by mistake.
$ git gc
error: bad ref for __init__.py
fatal: bad object refs/__init__.py
error: failed to run repack$ git gc