Hello,
on windows when the path passed as an argument given to index.add contains a [, the function just return an empty list, whether or not the path exists.
r = git.Repo('.')
r.index.add(['test[test'])
Out[88]: []
Kind Regards and thanks for this project