Well, I am a bit new to git.
I am working on a project with my team members, I created a git repo that has my source code. A team member makes a fork of my repo, makes some addition and then submits a pull request to my master branch.
I want to test this code first before merging it into my master branch, he created a topical branch named "additional-changes" for the pull request and maybe deletes the branch after submitting the request.
so I go this way
git checkout -b test origin/master
but I get errors.
So do I need to add a remote for this team member's branch first before checking it out? I get errors like the branch does not exist.
Please ignore my long stories and just give me a step by step procedure to handle a situation like this.
Thanks