How to diff between git tag and branch
<p>While trying to understand the difference between the HEAD of Appium 1.4 branch and tag v1.4.16, I didn't find a way to tell git diff to differentiate between the tag and the branch.</p>

<p>As far as I understand, from git diff's perspective, both the tag and the branch are just aliases to a commit hash, aren't they?</p>

<p>I eventually just created tag 'v1.4' pointing to the branch head (<code>git checkout 1.4; git tag -a v1.4</code>) and then I could do <code>git diff v1.4.16..v1.4</code> and see the difference I was after.</p>

<p>But this seems a bit strange, is this the only way to achieve what I needed?</p>