Git commands

To clone a project, use the command below. Sample command below clone from a dummy repository I had created.

git clone https://github.com/oofnivek/dummy-repository.git

To set your git configurations for all projects.

git config --global user.name "Kevin FOO"
git config --global user.email "[email protected]"
git config --global core.editor "vim"

To edit the configurations in the git global setting file.

git config --global --edit

Say you had your changes made, add/edit/delete. To commit your changes, use commands below.

git add .
git commit
git push