The Giants announced on Friday that they have signed Andrew Knapp, who played three games with the team in 2022, to a one-year, major-league deal