edit file and commit from local machine