I used commit -a
An editor opened.
Previously a git commit -m only staged the added file (testfile.txt)
Made changes to .vimrc though
I guess -a lets me make a longer comement