Switch branch without committing the working code
<p>I'm using <code>git</code> for source code repository and the current code in a messy state and want to switch to other branches for a bit of work. The issue is that I don't want to do a commit of half-done work just, so how can I get back to this point later. </p>