When using OSX’s git, after I modify a file I can simply do git commit , and that’ll auto complete the file’s name to the one that was modified. Howe
git commit
It may have something to do with libedit being used instead of readline in Lion.
Try installing readline before git.
brew install readline