Both are free for non commercial projects. They require a license for commercial use but they are relative cheap. They come with diff tools, easy commit access , branching, merging and tons of stuff to make life easier for complex scenarios and they integrate well with bitbucket and other online repositories besides github.��
But even from command line there is a lot of room for automation by creating bash scripts to make commits one step process.��