Fetching headers before pulling the logs
Added the git-dir path for the pull