the latest version of git code example
Example 1: install git ubuntu
$ sudo apt install git
Example 2: download git for mac
$ brew install git
Example 3: latest version of git
/ we need to type both of them git fetch origin git reset --hard origin/master