git clone by commit 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
#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