How to reproduce git init touch abc.txt touch abd.txt git add a* git commit -m 'first commit' echo 'hello' > abc.txt git add a[PRESS TAB] (This will autocomplete 'git add abc.txt') git diff a[PRESS TAB] (This will not give 'git diff abc.txt') Suggested feature - when I press tab, git diff should autocomplete just like git add.