Install git at CentOS:
sudo yum install git
List Tags:
git ls-remote –tags https://<username>:<password>@bitbucket.org/<bitbucket username>/<project>.git
Clone Tag:
git clone https://<username>:<password>@bitbucket.org/<bitbucket username>/<project>.git –branch “<TagName>” –depth 1
Clone Branch:
git clone https://<username>:<password>@bitbucket.org/<bitbucket username>/<project>.git -b <branch name>