git_handler: make self.git a lazily evaluated property

This allows other functions to be able to use the `git` property without
needing to care about initializing it.

An upcoming patch will remove the `init_if_missing` function.
git_handler: remove init_if_missing

This function is a no-op and can be removed.