Due to inexperience, I encountered the following problem. Created a new branch not from origin / master, but from its previous one. Each branch must contain separate files. It turns out in the new branch, I have new files and old ones, but I only need new ones. If you delete the old ones and try to perform a merge on the GITHUB, you get the error: Due to the fact that deleted old files that have successfully been locked earlier. How to fix it without creating a new branch?