The normal way that I work is to have a small eshell buffer and a larger buffer for the code I'm working on. I use the eshell buffer to do compilation and simple tests.
If I want to do git commits, when I run it this way, I always get a new Emacs window opening up.
How could I get the commit to simply open a new buffer in the current Emacs session?