The error message “The following untracked working tree files would be overwritten by merge” typically occurs when you have untracked files in your working directory that conflict with files in the branch you’re trying to merge into. To resolve this issue, you have a few options:
Error :-
error: The following untracked working tree files would be overwritten by merge
Solutions:-
git clean -d -f .
git clean -d -f ""
git pull