How do I commit my code to Git via command line?

git add . && git commit -a -m <comment> && git push

E,g.:

git add . && git commit -a -m refactoring && git push
git add . && git commit -a -m https://github.com/mage2pro/core/issues/168 && git push