git clone specific version code example
Example 1: git clone from specific branch command
git clone -b <branch> <remote_repo>
Example 2: 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