Local commit of file