I have been working in Git for a few years, but I have been using git version control all the time.

git config –global user.name “”

git config –global user.email “”

Initialize git repository

git init

Git git management

git add filename

Submit the file

Git commit -m “description” filename

# Ungit the file

git rm filename

git status

Git relog Displays the version information

Git log Displays detailed version information

Return to the specified version

Git reset — Hard version number

Create a branch

Git branch Specifies the branch name

# view branch

git branch -v

# Switch branches

Git Checkout branch name

Merges the specified branch to the current branch

Git merge branch name