# Selectively checkout part of a file from a different branch git checkout --patch branch_name -- file_name