    # File lib/chef/provider/git.rb, line 144
          def setup_remote_tracking_branches
            command = []

            Chef::Log.debug "#{@new_resource} configuring remote tracking branches for repository #{@new_resource.repository} "+
                            "at remote #{@new_resource.remote}"
            command << "git config remote.#{@new_resource.remote}.url #{@new_resource.repository}"
            command << "git config remote.#{@new_resource.remote}.fetch +refs/heads/*:refs/remotes/#{@new_resource.remote}/*"
            shell_out!(command.join(" && "), run_options(:cwd => @new_resource.destination))
          end