checkout  before ,add ,commit modified part