If you view a merge commit within the output of git log, you will notice its mom and dad stated at stake that starts with Merge: (the next line In such a case):Should you be on Python 2, it is possible to backport the pathlib module from pypi, pathlib2, or usually Look at isfile from the os.route module:The Welsh DragonThe Welsh Dragon 52911 gold b