Changed some math for better const calculation in the compiler
Changed  git_index_entry to path string
Changed callback functions so typecasts are not required