Git: Testing a branch against master locally?
<p>So I have a branch for automated tests that i've written for a Rails app, the branch basically consists of all the .rb spec files (the tests themselves) and a few other things.</p>

<p>I also have the master branch.</p>

<p>These are the only 2 branches I have locally. So when I switch to the automation branch, I can only see the files im working on (the automated tests) but if switch back to master....they go away (Which makes sense, because they aren't merged).</p>

<p>However if I want to test them against master, i'd need to have all the files together? Is there any way I can do this? Im quite new to Git.</p>