Git compare with branch create new file

When I use Compare With Branch tool, it compares files with those which exist in repository, but what should I do when the file does not exists?
Is there a way to create a new file and stage it automatically when comparing?

Please sign in to leave a comment.