fixed subdir file creation
Added commit creation and pushing