Commiting in the editor vs commiting in Bash

Newbe here. I have a little experience in UE4, mostly in Blueprint, but I’m getting into C++. I also have experience using git, and have connected my project to Git using the source control feature in the editor. Is it better to commit using the source control feature, or directly from bash?