Renamed network.cpp to git.cpp

Gives a better indication of its content.
Fixed API compilation.