GitHub get the latest version code example
Example 1: how to return latest version in github
// we need to type both of them
git fetch origin
git reset --hard origin/master
Example 2: how to get version of github
git --version
// we need to type both of them
git fetch origin
git reset --hard origin/master
git --version