Fixed resource upload to commit to git repo and fixed idea creation to properly create the repo for the idea