Replace cd with pushd,
currently NOT working for windows
Fix calculation of removed lines for hunk summary.