Git Dodaj plik z innego oddziału
git checkout <branch1>
git checkout <branch2> -- <file_name>
# where <branch1> is the one you want to add the file to
# and <branch-2> is the one where the file is located
PeruTilli