How to create git clone with particular branch name

Clone project with particular branch name.

git clone -b {branch_name} {project_rep_url}

# For example:
git clone -b docker https://gitlab.com/demo.git

For more detail on git, please follow this link. why-use-git

Git main website.

How to create git clone with particular branch name
Tagged on:
Show Buttons
Hide Buttons