Lets say I got a feature that takes me 3 days to complete.
After each day I'd to like backup my data somehow but not pushing commits to main branch since the feature is not complete.
If I do a new branch and commits three times to it and then merge it with main branch you are gonna have an ugly history:
WIP featureA
WIP featureA
Added feature A
Should I squash my three commit messages into one single before I merges? Like this: Squash my last X commits together using Git
Is this the best approach?