I have a project with around 20 class files already. The client is asking for an experimental feature, which itself is as big as a project around 4-5 class files or even more. I don't want to connect the feature with the original project in the beginning.But later when I am sure, it works.
What is the right approach to handle such cases?
Should I create a new branch and remove all the 20 class files. And add new feature project there?
Or is there any different/better way to do this using git?
Or should I not use git for such case, and create the feature project independent of the original project?
For just a few additional files, a branch is a good approach, and will allow:
The other approach would be to fork the repository (GitHub), or simply duplicated it (regular git clone, but pushed to a new empty repository), in order to modify it directly.
is it conceptually right to "delete" those files, and start with a new project after deleting those files?
The main question is the end goal: