I'm using Git to keep track of the changes I make to my project. I often move entire sections around within my files.
When I view diffs using Sourcetree and GitHub for OSX, it shows me those moved lines as deleted (and shows them as new lines elsewhere). This is confusing visually.
How do I instruct Sourcetree or GitHub to ignore moved lines, and only show lines as deleted if they are truly gone?