To download the repository
$ cd /path/to/your/destination/
$ git clone https://github.com/cms-bph/BToKstarMuMu.git
Please do remember that the above git clone command is "ONLY" used for production, "NOT" for development. For development, you have to follow "Pull and Merge" method.
Once you do "git clone" , go to the BToKstarMuMu directory
$ cd BToKstarMuMu
you can list all the available tags by typing the command
$ git tag -l
To checkout a particular tag version(let's say v3.1), you have to do
$ git checkout v3.1