Small source code readability improvements. Replaced magic number "0" with GIT_SUCCESS constant wherever it made sense.