Add gitupdateall function
Cleanup of functions