jgit checkout branch not finding branch code example Example: git checkout remote branch git checkout --track origin/<branchname>