If you want to share a file with your team for collaboration,
first check where you are intending to upload the file and
that the team will have access to it. You can then upload the
file into the Files tab of Microsoft Teams or in the
corresponding folder on SharePoint.
Then set editing writes open the file in SharePoint and click the
ellipses ... and select Share. The default link setting is
people you share with can View, so click this to see more link
setting options, then click allow editing and apply. Then
either enter the recipients name and the address box and send
them the file which they will receive via e-mail or you can
copy the link and send it to them on Teams.