Renames for consistency

`sha` => `SHA` and `oid` => `OID`, with an exception on the latter when the
parameter is a `git_oid` (like the `GTOID` initializer).