git clone -b <branch> <remote_repo>

Example

git clone -b develop https://github.com/laravel/laravel.git
Categories: Miscellaneous

Leave a Reply

%d bloggers like this: