🏡 Home

Checkout Remote Branch

To checkout a remote branch from git repository we can use these steps:

  1. First fetch to update using

    git fetch
  2. Then we can check the available branches

    git branch --all
  3. Lastly checkout the remote branch

    git checkout --track <remote-branch>