Relax refspecs accepted by push
tests-clar/network: remove unused macro
object: add git_object_id2type

This reverts commit ac22d08f2fbe53c28a0f7dffcfa44c5408dcf78f.
push: properly handle tags