Improve reading git commit messages to buffer

Move to the top and delete first empty line