Git Repositories

Add some sanity checks to the git scripts to prevent root user to run it directly.