Using subprocess module for git rev fetching.