clone a historical version git code example
Example: git clone specific version
#For cloning a specific version of a repo branch find the SHA1 ID and use
#following commands instruction
git clone $URL
cd $PROJECT_NAME
git reset --hard $SHA1
git pull