Commiting and uploading the files to the server