xxxxxxxxxx
$ git clone github.com/mygitname/theproject --branch 1.0.2
xxxxxxxxxx
#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