git checkout main
git checkout {branch_name} -- {file_path}
git add {file_path}
git commit -m "message"