Git is a distributed version-control system for tracking changes in source code during software development. It is designed for coordinating work among programmers, but it can be used to track changes in any set of files. Its goals include speed, data integrity, and support for distributed, non-linear workflows.


Clone

git clone https://github.com/username/repo.git

Status

git status

Add

git add .

Commit

git commit -m "commit message"

Push

git push

Enable Credentials Cache

git config --global credential.helper cache

Disable Credentials Cache

git config --global --unset credential.helper