https://caitlinhudon.com/2018/11/28/git-sql-together/
And an accompanying tweet from @drob about using .sql files in a repo to automatically build/refresh views via Airflow.