git log -p -- path/to/filename
add --follow
to see changes past file renames
git log -p --follow -- path/to/filename
Kilde: https://stackoverflow.com/questions/1057564/pretty-git-branch-graphs
git log
--oneline
--all
: alle branches
--graph
-3
: de 3 siste commit'ene
Du kan åpne Git GUI, velge repository>visualize all branch history
Åpne Git GUI
git gui