There are 2 repositories under sql-server-performance-scripts topic.
a PowerShell-based tool that outputs SQL Server health and performance diagnostics data to either Excel or HTML, and saves execution plans and deadlock graphs as .sqlplan and .xdl files.
This repository contains all helping SQL Server Script which will use in day to day life to troubleshoot and understand SQL Server Health.