Inaccurate -- I wrote one of those. :)<p>But do note that instead of this:<p><pre><code> git checkout -t origin/feature
</code></pre>
You can do this:<p><pre><code> git checkout feature
</code></pre>
It'll find a branch named "feature" in one of your remotes and make a local branch that tracks it.
The article uses, but does not describe pbcopy and pbpaste on os x.
Feed data to pbcopy, and it goes to the clipboard:<p><pre><code> pwd | pbcopy # Copies the working directory to the clipboard
</code></pre>
pbpaste outputs the clipboard contents:<p><pre><code> cd `pbpaste` # cd to the directory in the clipboard
</code></pre>
(I use this to go to the same dir in a second terminal)
(There's Linux equivalent called, xsel does the same.)