To clone a specific remote git branch only, you could use:
git clone --single-branch -b testing https://gitlab.com/techantidote/dotfiles.git
Remote Branch cloned: testing
Git URL: https://gitlab.com/techantidote/dotfiles.git
Source: StackOverFlow
To clone a specific remote git branch only, you could use:
git clone --single-branch -b testing https://gitlab.com/techantidote/dotfiles.git
Remote Branch cloned: testing
Git URL: https://gitlab.com/techantidote/dotfiles.git
Source: StackOverFlow