I need to collect all the code that has been worked on so far by a developer that is moving on. Most of it is not ready to be pushed to our development branch.
If they zip and share their .git folder with me, would that be enough to have all of their local work? As in replace my .git folder with theirs to be able to look through the branches they have created and all commits, changes, and history on those branches, i.e. all work that has not been pushed to the remote repository.