How exactly can you run GitHub or Slack locally? Their entire purpose is being a place where people can communicate, they need to be centrally available on a network to have any function at all.
> or have similar emergency backup tools ready to run locally
Developers used to share code through version control before there were websites to serve the "upstream", and they used to communicate without bespoke messenger apps.
Their former ways of doing so still work just fine.