repo controller: upload files to git repo dir.