Link the repository and branch.